<!DOCTYPE html>
<html>
  <head>
    <title>Simple Map</title>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">
    <meta charset="utf-8">
    <style>
      html, body, #map-canvas {
        margin: 0;
        padding: 0;
        height: 100%;
      }
    </style>
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true"></script>
	 <script type="text/javascript" src="js/geoxml3.js"></script>
     <script type="text/javascript">
		var map;
		var Long = 100.540094, Lat = 13.770899;
		var infowindow = new google.maps.InfoWindow();
		var proxy = "/cgi-bin/proxy.php?";

		layers = [
				["xml4", false, "bigpipe2.kml"],
				["xml6", false, "bigpipe1.kml"]
		];

		function initialize() {
			var mapOptions = {
				zoom: 8,
				mapTypeId: google.maps.MapTypeId.ROADMAP
			};
			map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
			var myParser = new geoXML3.parser({map: map});
			myParser.parse('bigpipe1.kml');
			//var t = setInterval("refreshKml()", 10000);

		}


    </script>
  </head>
  <body onload="initialize();">
    <div id="map-canvas"></div>
	
  </body>
</html>